<html>
    <head>
        <title>WebAssembly WebCodecs</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>

    <body>
        <h1>WebCodecs</h1>
        <button onclick="start_decoder()">Start Decode</button>
    </body>

    <script src="./EWAWebTest.js"></script>

    <script>
        function start_decoder(){
            console.log("start_decoder");
            Module.ccall("webcodec_start_decoder", "number",
                [
                ],
                [
                ]
            );
        }
    </script>
</html>